<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>029-margin注意事项</title>
		<style>
			span {
				margin: 10px 20px;
				background-color: pink;
			}

			div {
				background-color: aquamarine;
			}
		</style>
	</head>
	<body>
		<!-- 对于行内元素 margin，左右生效，上下不会生效。 -->
		<span>SPNA1</span><span>SPNA2</span>
		<div>DIV</div>
	</body>
</html>
